Methods of the window object to create prompt message boxes , which typically solicit input from users 方法來創(chuàng)建提示消息框(此消息框通常要求用戶輸入) 。
The prompt message box , which includes ok and cancel buttons , provides a text field that accepts text in response to a prompt 提示消息框包含“確定”和“取消”按鈕,提供的文本字段接受響應(yīng)提示的文本。
If you provide a second string argument , the prompt message box displays the second string in the text field as the default response 如果提供了第二個字符串參數(shù),則提示消息框的默認(rèn)響應(yīng)是在文本字段中顯示第二個字符串。
The input and output dynamics of interactive devices shall take place in such a fashion that prompting messages actually appear prior to a program waiting for input 交互式設(shè)備進行輸入輸出的動態(tài)行為應(yīng)當(dāng)表現(xiàn)為:在程序進入等待輸入之前輸出提示性信息。